package com.ttdev.mmms.service.impl;

import com.ttdev.mmms.entity.MemberInfo;
import com.ttdev.mmms.repository.MemberRepository;
import com.ttdev.mmms.service.MemberRechargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

/**
 * @author yang
 * @sketch
 * @create 2019-12-18 21:30
 */
@Service
public class MemberRechargeImpl {
//public class MemberRechargeImpl implements MemberRechargeService {
   /* @Autowired
    MemberRepository memberRepository;
    @Override
    public ModelAndView findAll(Integer card, String iphone) {
        MemberInfo memberInfo=memberRepository.query(card,iphone);
        System.out.println(memberInfo);
        ModelAndView model = new ModelAndView();
        model.setViewName("/admin/memberRecharge");
        model.addObject("memberInfo", memberInfo);
        System.out.println(model);
        return model;
    }*/
}
